Optimal. Leaf size=58 \[ \frac {a \sqrt {1-a^2 x^2}}{12 x^3}+\frac {a^3 \sqrt {1-a^2 x^2}}{6 x}-\frac {\text {ArcCos}(a x)}{4 x^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {4724, 277, 270}
\begin {gather*} \frac {a \sqrt {1-a^2 x^2}}{12 x^3}+\frac {a^3 \sqrt {1-a^2 x^2}}{6 x}-\frac {\text {ArcCos}(a x)}{4 x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 270
Rule 277
Rule 4724
Rubi steps
\begin {align*} \int \frac {\cos ^{-1}(a x)}{x^5} \, dx &=-\frac {\cos ^{-1}(a x)}{4 x^4}-\frac {1}{4} a \int \frac {1}{x^4 \sqrt {1-a^2 x^2}} \, dx\\ &=\frac {a \sqrt {1-a^2 x^2}}{12 x^3}-\frac {\cos ^{-1}(a x)}{4 x^4}-\frac {1}{6} a^3 \int \frac {1}{x^2 \sqrt {1-a^2 x^2}} \, dx\\ &=\frac {a \sqrt {1-a^2 x^2}}{12 x^3}+\frac {a^3 \sqrt {1-a^2 x^2}}{6 x}-\frac {\cos ^{-1}(a x)}{4 x^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 41, normalized size = 0.71 \begin {gather*} \frac {a x \sqrt {1-a^2 x^2} \left (1+2 a^2 x^2\right )-3 \text {ArcCos}(a x)}{12 x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 58, normalized size = 1.00
method | result | size |
derivativedivides | \(a^{4} \left (-\frac {\arccos \left (a x \right )}{4 a^{4} x^{4}}+\frac {\sqrt {-a^{2} x^{2}+1}}{12 a^{3} x^{3}}+\frac {\sqrt {-a^{2} x^{2}+1}}{6 a x}\right )\) | \(58\) |
default | \(a^{4} \left (-\frac {\arccos \left (a x \right )}{4 a^{4} x^{4}}+\frac {\sqrt {-a^{2} x^{2}+1}}{12 a^{3} x^{3}}+\frac {\sqrt {-a^{2} x^{2}+1}}{6 a x}\right )\) | \(58\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 50, normalized size = 0.86 \begin {gather*} \frac {1}{12} \, {\left (\frac {2 \, \sqrt {-a^{2} x^{2} + 1} a^{2}}{x} + \frac {\sqrt {-a^{2} x^{2} + 1}}{x^{3}}\right )} a - \frac {\arccos \left (a x\right )}{4 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.18, size = 37, normalized size = 0.64 \begin {gather*} \frac {{\left (2 \, a^{3} x^{3} + a x\right )} \sqrt {-a^{2} x^{2} + 1} - 3 \, \arccos \left (a x\right )}{12 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 1.07, size = 102, normalized size = 1.76 \begin {gather*} - \frac {a \left (\begin {cases} - \frac {2 i a^{2} \sqrt {a^{2} x^{2} - 1}}{3 x} - \frac {i \sqrt {a^{2} x^{2} - 1}}{3 x^{3}} & \text {for}\: \left |{a^{2} x^{2}}\right | > 1 \\- \frac {2 a^{2} \sqrt {- a^{2} x^{2} + 1}}{3 x} - \frac {\sqrt {- a^{2} x^{2} + 1}}{3 x^{3}} & \text {otherwise} \end {cases}\right )}{4} - \frac {\operatorname {acos}{\left (a x \right )}}{4 x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 130 vs.
\(2 (48) = 96\).
time = 0.42, size = 130, normalized size = 2.24 \begin {gather*} -\frac {1}{96} \, {\left (\frac {{\left (a^{4} + \frac {9 \, {\left (\sqrt {-a^{2} x^{2} + 1} {\left | a \right |} + a\right )}^{2}}{x^{2}}\right )} a^{6} x^{3}}{{\left (\sqrt {-a^{2} x^{2} + 1} {\left | a \right |} + a\right )}^{3} {\left | a \right |}} - \frac {\frac {9 \, {\left (\sqrt {-a^{2} x^{2} + 1} {\left | a \right |} + a\right )} a^{4}}{x} + \frac {{\left (\sqrt {-a^{2} x^{2} + 1} {\left | a \right |} + a\right )}^{3}}{x^{3}}}{a^{2} {\left | a \right |}}\right )} a - \frac {\arccos \left (a x\right )}{4 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\mathrm {acos}\left (a\,x\right )}{x^5} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________